package site.jlopen.secret.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

@ConfigurationProperties(prefix = "secret.sdk")
@Data
public class SecretClientProperties {

	/**
	 * 启用
	 */
	private boolean enable = false;
	/**
	 * 请求主域
	 */
	private String host;
	/**
	 * 应用id
	 */
	private String appId;
	/**
	 * 授权秘钥
	 */
	private String appSecret;
	/**
	 * 调用引擎
	 */
	private String engine;
	/**
	 * 请求超时时间
	 */
	private int timeout = 2000;
	/**
	 * token
	 */
	private String token;
}
